<template>
  <div class="container agreement">
  	<el-page-header @back="goBack" content="客户组认证须知"></el-page-header>
    <el-scrollbar class="text-item" :wrap-class="'text-item-wrap'">
      <div v-html="contentText"></div>
    </el-scrollbar>
  </div>
</template>

<script>
  export default {
  	data() {
  		return {
        contentText: ''
  		}
  	},
    methods:{
      goBack() {
      	this.$router.go(-1)
      },
      getAgreement() {
        this.$u.get('/WebSetting/GetAgreement?t=3&c=true').then((res) =>{
          this.contentText=res.content
        })
      }
    }
  }
</script>

<style lang="scss">
  .agreement{
    .title{
      font-size: 30px;
      text-align: center;
    }
	.text-item{
		height: calc(100vh - 330px);
		margin-top: 30px;
		.text-item-wrap{
			overflow-x: hidden!important;
		}
	}
  }
</style>
